﻿            <script type="text/javascript" src="<?php echo base_url(); ?>resource/script/gopy.js"></script>
            <div id="content">
                <div class="block" style="padding: 5px;font-weight: bold;font-size: 18px;color: #2aabd2">TẠO GÓP Ý</div>
                <div class="block" style="padding: 10px;">
                    <form class="form-horizontal" role="form">
                        <div class="form-group">
                            <input type="hidden" id="magopyke" value="<?php echo $magopy;?>">
                            <label class="col-sm-2 control-label">Tiêu Đề</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="tieudegopy" placeholder="Tiêu đề góp ý">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">Nội Dung</label>
                            <div class="col-sm-10">
                                <textarea style="width: 845px;height: 100px;" id="noidunggopy"></textarea>
                            </div>
                        </div>
                        <?php
                        if($this->session->userdata('prie_phanloai') != 'Học sinh')
                        {
                            echo '
                            <div class="form-group">
                            <label class="col-sm-2 control-label">Giới Hạn</label>
                            <div class="col-sm-10">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" id="giaovien" value="giáo viên"> Chỉ giáo viên
                                    </label>
                                    <label>
                                        <BR><input type="checkbox" id="phuhuynh" value="phụ huynh"> Chỉ phụ huynh
                                    </label>
                                </div>
                            </div>
                        </div>
                            ';
                        }
                        ?>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="button" class="btn btn-default" id="taogopy">Tạo Góp Ý</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>